<?php

namespace Controller\Verify;

class Index extends \Lib\Core\Controller {

	public function actionIndex() {
		$mask = $this->getUserMask();
		$validateCode = \Lib\Core\ValidateCode::instance();
		$validateCode->height = 34;
		$validateCode->width = 135;
		$validateCode->create();
		$code = $validateCode->getCode();
		\Business\User::instance()->setVerify($mask, $code);
	}

}